package oop.day03.HomeWork;


public class Chick extends Animal
{
    Chick(String name,int age,String color)
    {
        super(name,age,color);
    }
    void eat()
    {
        System.out.println(" there is a chick  named " + name + " colored " + color + "  , " + age + "years old  eating " );
    }
    void layEggs()
    {
        System.out.println(" there is a chick  named " + name + " colored " + color + "  , " + age + "years old  laying agges " );
    }

}
